﻿using System;

namespace QuickDev.Model
{
    /// <summary>
    /// <para>ReturnOrderDetail Object</para>
    /// </summary>
    [Serializable]
    public class ReturnOrderDetail
    {
        #region Private Fields
        private int _id;
        private int _returnOrderId;
        private string _productNumber;
        private int _productQty;
        private int _returnTypeId;
        private string _returnReasonXML;
        private bool _otherReasonChecked;
        private string _otherReasonContent;
        private bool _deleted;
        private int _createdBy;
        private int _updatedBy;
        private DateTime _createdOn;
        private DateTime _updatedOn;
        private Guid _rOWGUID = Guid.Empty;
        #endregion

        #region Public Properties

        ///<summary>
        ///Id
        ///</summary>
        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }

        ///<summary>
        ///ReturnOrderId
        ///</summary>
        public int ReturnOrderId
        {
            get { return _returnOrderId; }
            set { _returnOrderId = value; }
        }

        ///<summary>
        ///ProductNumber
        ///</summary>
        public string ProductNumber
        {
            get { return _productNumber; }
            set { _productNumber = value; }
        }

        ///<summary>
        ///ProductQty
        ///</summary>
        public int ProductQty
        {
            get { return _productQty; }
            set { _productQty = value; }
        }

        ///<summary>
        ///ReturnTypeId
        ///</summary>
        public int ReturnTypeId
        {
            get { return _returnTypeId; }
            set { _returnTypeId = value; }
        }

        ///<summary>
        ///ReturnReasonXML
        ///</summary>
        public string ReturnReasonXML
        {
            get { return _returnReasonXML; }
            set { _returnReasonXML = value; }
        }

        ///<summary>
        ///OtherReasonChecked
        ///</summary>
        public bool OtherReasonChecked
        {
            get { return _otherReasonChecked; }
            set { _otherReasonChecked = value; }
        }

        ///<summary>
        ///OtherReasonContent
        ///</summary>
        public string OtherReasonContent
        {
            get { return _otherReasonContent; }
            set { _otherReasonContent = value; }
        }

        ///<summary>
        ///Deleted
        ///</summary>
        public bool Deleted
        {
            get { return _deleted; }
            set { _deleted = value; }
        }

        ///<summary>
        ///CreatedBy
        ///</summary>
        public int CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }

        ///<summary>
        ///UpdatedBy
        ///</summary>
        public int UpdatedBy
        {
            get { return _updatedBy; }
            set { _updatedBy = value; }
        }

        ///<summary>
        ///CreatedOn
        ///</summary>
        public DateTime CreatedOn
        {
            get { return _createdOn; }
            set { _createdOn = value; }
        }

        ///<summary>
        ///UpdatedOn
        ///</summary>
        public DateTime UpdatedOn
        {
            get { return _updatedOn; }
            set { _updatedOn = value; }
        }

        ///<summary>
        ///ROWGUID
        ///</summary>
        public Guid ROWGUID
        {
            get { return _rOWGUID; }
            set { _rOWGUID = value; }
        }
        #endregion
    }
}
